package nc.vo.pr.pub;

import nc.bs.framework.common.NCLocator;
import nc.bs.framework.exception.ComponentException;
import nc.itf.pr.pub.IPRPub;
import nc.itf.pr.pub.currency.ICurrencyRate;
import nc.itf.uif.pub.IUifService;

public class PRProxy {

	public static IUifService getIUifService() throws ComponentException {
		return ((IUifService)NCLocator.getInstance().lookup(
				IUifService.class.getName()));
	}
	
	public static ICurrencyRate getICurrencyRate() throws ComponentException {
		return ((ICurrencyRate)NCLocator.getInstance().lookup(
				ICurrencyRate.class.getName()));
	}
	
	public static IPRPub getIPRPub() throws ComponentException {
		return ((IPRPub) NCLocator.getInstance().lookup(
				IPRPub.class.getName()));
	}
	
}
